using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 随访计划表
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 随访计划表
    /// </summary>
    [SugarTable("health_followupplan", TableDescription = "随访计划表")]
    public class HealthFollowupplan
    {
        /// <summary>
        /// 随访计划ID(自增)
        /// </summary>
        [SugarColumn(ColumnName = "ID" ,IsIdentity = true, IsPrimaryKey = true)]
        public int ID{ get; set; }
        
        /// <summary>
        /// 病人ID(关联病人表)
        /// </summary>
        [SugarColumn(ColumnName = "PatientId")]
        public string? PatientId{ get; set; }
        
        /// <summary>
        /// 疾病名称
        /// </summary>
        [SugarColumn(ColumnName = "DiseaseName")]
        public string? DiseaseName{ get; set; }
        
        /// <summary>
        /// 计划随访时间
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpDate")]
        public DateTime? FollowUpDate{ get; set; }
        
        /// <summary>
        /// 随访方式（1.门诊 2.家庭 3.电话）
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpMethod")]
        public int? FollowUpMethod{ get; set; }
        
        /// <summary>
        /// 随访内容(详细的随访检查或评估项目)
        /// </summary>
        [SugarColumn(ColumnName = "Contents")]
        public string? Contents{ get; set; }
        
        /// <summary>
        /// 随访医生ID（关联人员字典表)
        /// </summary>
        [SugarColumn(ColumnName = "DoctorID")]
        public string? DoctorID{ get; set; }
        
        /// <summary>
        /// 诊断建议
        /// </summary>
        [SugarColumn(ColumnName = "Suggestions")]
        public string? Suggestions{ get; set; }
        
        /// <summary>
        /// 随访频次(据患者的病情和治疗需要，确定合适的随访频率，确保能及时了解患者的病情变化)
        /// </summary>
        [SugarColumn(ColumnName = "Frequency")]
        public int? Frequency{ get; set; }
        
        /// <summary>
        /// 随访单位(1.周、2.月、3.季度、4.年)
        /// </summary>
        [SugarColumn(ColumnName = "Unit")]
        public int? Unit{ get; set; }
        
        /// <summary>
        /// 随访状态（1.已随防，2.未随访）
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public int? Status{ get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Description")]
        public string? Description{ get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
        
    }
}